package com.tgy.springmvc.controller;

import lombok.Data;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: tgy
 * @Date: 2020-08-24 09:52
 */
@Controller
@RequestMapping("/admin")
public class IndexController {


    @GetMapping("/index")
    public String index(){

        return "index01";
    }


    @GetMapping("/profile")
    public String profile(){

        return "profile";
    }
}
